{include common/header}
{include common/left}
<div id="content">
  <ul class="breadcrumb">
    <li><a href="javascript:;"><i class="icon-home"></i>批量删除</a> </li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> 
            <h5><span class="icon"> <i class="icon-align-justify"></i> </span>批量删除</h5>
          </div> 
          <div class="widget-content nopadding">
            <form action="{url('estate/batdel')}" id="batdelForm" method="POST" class="form-horizontal">
              <div class="control-group">
                <label class="control-label">年</label>
                <div class="controls">
                  <input name="year" type="text" value="{date('Y',time())}">
                </div>
              </div>            
               <div class="control-group">
                <label class="control-label">月</label>
                <div class="controls">
                  <input name="month" type="text">
                </div>
              </div>                          
              <div class="form-actions">               
                <input type="button" id="batdel" class="btn btn-primary" value="删除">
              </div>
            </form>
          </div>
        </div>
        
      </div>
    </div>
  </div>
</div>
<script>
$(function(){
	$('#batdel').click(function(){
		if(confirm("删除将不可恢复，你确定要删除吗?")){
		 	$('#batdelForm').submit();
		}		
	});

})
</script>
{include common/footer}